From: Florian Müllner Date: Sat, 13 Jan 2024 22:34:00 +0000 (+0100) Subject: extensions-app: Remember window state X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~146 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=41b94ccf11a66c5b315f834061cdec82a622f4ec;p=gnome-shell.git extensions-app: Remember window state It's good practice to save and reload the window size and maximization state, and easy enough to implement, so let's do that. Part-of: --- diff --git a/subprojects/extensions-app/data/meson.build b/subprojects/extensions-app/data/meson.build index 4f24267b0..367c56d28 100644 --- a/subprojects/extensions-app/data/meson.build +++ b/subprojects/extensions-app/data/meson.build @@ -48,3 +48,5 @@ configure_file( subdir('icons') subdir('metainfo') + +install_data(base_id + '.gschema.xml', install_dir: schemadir) diff --git a/subprojects/extensions-app/data/org.gnome.Extensions.gschema.xml b/subprojects/extensions-app/data/org.gnome.Extensions.gschema.xml new file mode 100644 index 000000000..d88bb87a3 --- /dev/null +++ b/subprojects/extensions-app/data/org.gnome.Extensions.gschema.xml @@ -0,0 +1,17 @@ + + + + + 800 + Window width + + + 500 + Window height + + + false + Window maximized + + + diff --git a/subprojects/extensions-app/data/ui/extensions-window.ui b/subprojects/extensions-app/data/ui/extensions-window.ui index 51ce6db3f..3e5116d91 100644 --- a/subprojects/extensions-app/data/ui/extensions-window.ui +++ b/subprojects/extensions-app/data/ui/extensions-window.ui @@ -54,8 +54,6 @@ searchFilter